"use strict";

$(function () {
	$(".w-nav .first-nav>li").bind("click", function () {
		var $this = $(this);
		$this.parent().children("li").each(function () {
			$(this).removeClass("selected");
		});
		$this.addClass("selected");
	});

	$(".maintain-left ul li").bind("click", function () {
		var $this = $(this);
		$this.parents("ul").find("li").each(function () {
			$(this).removeClass("selected");
		});
		$this.addClass("selected");
	});
});